package cn.kgc.tangcco.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/12/25 12:25
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Configuration
// @ConfigurationProperties(prefix = "db.jdbc", ignoreUnknownFields = true)
public class DB {
    // @Value("${db.jdbc.driver}")
    private String driver;

    // @Value("${db.jdbc.url}")
    private String url;

    // @Value("${db.jdbc.userName}")
    private String userName;

    // @Value("${db.jdbc.authText}")
    private String authText;
}
